<template>
  <a-config-provider :locale="zhCN">
    <router-view />
    <global-setting />
  </a-config-provider>
</template>

<script lang="ts" setup>
import zhCN from '@arco-design/web-vue/es/locale/lang/zh-cn'
import GlobalSetting from '@/components/global-setting/index.vue'
// import { getToken } from './utils/auth'
// import { useUserStore } from './store'
// const user = useUserStore()
// if (getToken()) {
//   setInterval(() => {
//     user.refeshToken()
//   }, 1000 * 100)
// }
</script>

<style>
.fixed-settings {
  display: none;
}
/**处理table数据多级的时候不会居中对齐 */
.arco-table-td,
.arco-table-th {
  vertical-align: middle;
}
</style>
